package cn.j0n4than.accountingtool.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

/**
 * @author jonathan
 */
@TableName(value = "actives", keepGlobalPrefix = true)
public class Active {
    @TableId(type = IdType.INPUT)
    public String id;

    @TableField(value = "user_id")
    public Integer userId;

    @TableField(value = "status")
    public Boolean status;

    @TableField(value = "created_at")
    public Date createdAt;
}
